<template>
  <div>
    <!-- testing/Field.vue -->
    <mt-field type="text" label="用户名"
      placeholder="请输入用户名" state="success"></mt-field>
    <mt-field type="password" label="密码"
      disableClear
      placeholder="请输入密码" state="error"></mt-field>
    <mt-field type="text" label="手机号"
      :attr="{maxlength:11, a:'1', b:'2'}"
      placeholder="请输入手机号" state="warning"></mt-field>  
  </div>
</template>